class Felines:
    naoren = True

    def speciality(self):
        print("猫科动物，喵喵喵")


class Cat(Felines):
    name = 'xm'
    sex = 'female'
    address = 'zjjszx'

    def speciality(self):
        print("小猫，喵喵喵喵")
        super().speciality()


cat = Cat()
cat.speciality()
# 小写没啥用
print(cat.__dict__)
# 大写有输出
print(Cat.__dict__)
# 输出父类
print(Cat.__base__)
